<div class="hello" ng-controller="helloCtrl">
    <p class="title">登录</p>
    <input ng-model="loginEntity.userName" required />
    <input type="password" ng-model="loginEntity.password" />
    <button type="button" ng-click="login()">登录</button>

    <p>you key input:</p>
    <p>User Name:{{loginEntity.userName}}</p>
    <p>Passord:{{loginEntity.password}}</p>

    <p>{{loginEntity.currentUser}}</p>
</div>